package com.fiona.example.server.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.fiona.annotation.FionaApi;
import com.fiona.example.service.DemoService;
import com.fiona.example.vo.UserInfo;

@FionaApi(name="demoService")
public class DemoServiceImpl implements DemoService {
	private static Logger log = LoggerFactory.getLogger(DemoServiceImpl.class);
	@Override
	public UserInfo call(UserInfo user) {
		log.info("call {},he is a {}", user.getName(), user.getSex());
		user.setPhone("110");
		return user;
	}

}
